const readlineSync = require('readline-sync')
var num1 = readlineSync.question('请输入消费金额：') //中文提示乱码
var num2 = readlineSync.question('加购金额：') //中文提示乱码

var jin = +num1;
var jia = +num2;
if(jin>50&&jia==2){
    alert("成功换购可乐一瓶");
}
